package gui;

import java.awt.GridBagConstraints;
import java.awt.Insets;

public class Constraints extends GridBagConstraints{
	public Constraints(){
		this.insets = new Insets(10, 10, 10, 10);
	}
	public void posisjon(int x, int y){
		this.gridx = x;
		this.gridy = y;
	}
	public void storrelse(int width, int height){
		this.gridwidth = width;
		this.gridheight = height;
	}
	public void weight(double weightx, double weighty){
		this.weightx = weightx;
		this.weighty = weighty;
	}
	public void padding(int ipadx, int ipady){
		this.ipadx = ipadx;
		this.ipady = ipady;
	}
	public void posisjon(int x, int y, int anchor){
		this.gridx = x;
		this.gridy = y;
		this.anchor = anchor;
	}

}
